import Layout from '@/layout/index'

export default [
  {
    path: '/stockManage',
    name: 'stockManage',
    component: Layout,
    meta: { title: '库存管理', icon: 'menu-stockManage', menuId: 203, showIndex: 5 },
    children: [
      {
        path: 'stockSearch',
        name: 'stockSearch',
        component: () => import('@/views/stockManage/stockSearch/index'),
        meta: { title: '库存查询', menuId: 20301, showIndex: 1 }
      },
      {
        path: 'inAndOutManage',
        name: 'inAndOutManage',
        component: () => import('@/views/stockManage/inAndOutManage/index'),
        meta: { title: '出入库管理', menuId: 20302, showIndex: 2 }
      },
      {
        path: 'stockCheck',
        name: 'stockCheck',
        component: () => import('@/views/stockManage/stockCheck/index'),
        meta: { title: '库存盘点', menuId: 20303, showIndex: 3 }
      },
      {
        path: 'transferManage',
        name: 'transferManage',
        component: () => import('@/views/stockManage/transferManage/index'),
        meta: { title: '调拨管理', menuId: 20305, showIndex: 4 }
      },
      {
        path: 'warehouseManage',
        name: 'warehouseManage',
        component: () => import('@/views/stockManage/warehouseManage/index'),
        meta: { title: '仓库管理', menuId: 20306, showIndex: 5 }
      },
      {
        path: 'vehicleManage',
        name: 'vehicleManage',
        component: () => import('@/views/stockManage/vehicleManage/index'),
        meta: { title: '车辆管理', menuId: 30206, showIndex: 6 }
      },
      {
        path: 'loadingVehicleManage',
        name: 'loadingVehicleManage',
        component: () => import('@/views/stockManage/loadingVehicleManage/index'),
        meta: { title: '装卸车管理', menuId: 30213, showIndex: 7 }
      },
      {
        path: 'inventoryPlan',
        name: 'inventoryPlan',
        component: () => import('@/views/stockManage/inventoryPlan/index'),
        meta: { title: '盘点计划', menuId: 40216, showIndex: 8 }
      }
    ]
  }
]
